package lib.bone.access.module.dict.dao;

import lib.bone.access.module.dict.entity.NepuTopicDict;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface NepuTopicDictDAO extends JpaRepository<NepuTopicDict,String> {
    /**
     * 根据ID删除
     */
    void deleteById(Long id);

    NepuTopicDict findByTopicType(String topicType);

    NepuTopicDict findByTopicTypeLike(String topicType);



    NepuTopicDict findByTopicLevel(String topicLevel);
}
